package com.itheima.commons.pojo.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "peach")
public class Peach implements Serializable {
        private Object id;  //主键id
        private Long userId;//用户id
        private String soundUrl;//语音url
        private Integer remainingTimes;//剩余次数
        private Date create;//创建时间
        private Date update;//更新时间
}
